<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台欢迎页</title>
    <link rel="stylesheet" href="/static/css/reset.css" />
    <link rel="stylesheet" href="/static/css/content.css" />
</head>
<body marginwidth="0" marginheight="0">
<div class="container">
    <!--    <div class="public-nav">您当前的位置：<a href="{:url('admin/index/index')}">管理首页</a>><a href="">背景音乐管理</a></div>-->
    <div class="public-content">
        <div class="public-content-header">
            <h3>指定用户</h3>
        </div>
        <form action="{:url('admin/discount/search')}" method="get">
            <div class="search">
                <input type="text" placeholder="请输入完整手机号" name="mobile" value="" />
                <input type="hidden" name="volume_id" value="$volume_id">
                <button><i>搜索</i></button>
            </div>
        </form>
        <div class="public-content-cont">
            <form action="{:url('admin/discount/appointAdd')}" enctype="multipart/form-data" method="get">
            <table class="public-cont-table">
                <tr>
                    <th style="width:10%">ID</th>
                    <th style="width:10%">昵称</th>
                    <th style="width:20%">头像</th>
                    <th style="width:20%">手机号</th>
                    <th style="width:20%">指定</th>
                </tr>
                {foreach $userletter as $key=>$vo}
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.nickname}</td>
                    <td><img src="{$vo.avatarurl}" width=40 height=40 /></td>
                    <td>{$vo.mobile}</td>
                    <td><label><input type="radio" name="id" value="{$vo.id}">启用</label></td>
                </tr>
                {/foreach}
                <input type="hidden" name="volume_id" value="{$volume_id}">
            </table>
            {$userletter|raw}
            <div class="form-group" style="margin-left:150px;">
                <input type="submit" class="sub-btn" value="提  交" />
            </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>